// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import { Icon, Tabbar, TabbarItem, Button,Stepper , Col, Row, Swipe, SwipeItem, Lazyload, List, Cell , CellGroup , Field, NavBar, Toast, Tab, Tabs, PullRefresh, } from 'vant';

import URL from '@/axios/url.js'
import '@/assets/css/base.css';

Vue.use(Button).use(Col).use(Row).use(Swipe).use(SwipeItem).use(Lazyload).use(List).use(Field)
  .use(NavBar).use(Toast).use(Tab).use(Tabs).use(Cell).use(PullRefresh).use(Stepper).use(Tabbar)
  .use(TabbarItem).use(CellGroup).use(Icon)
Vue.config.productionTip = false;
Vue.prototype.$url = URL;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
